import config from 'config'
import httpFetch from 'share/httpFetch'

export default {

  //得到用户信用详情
  getUserCreditInfo(params){
    return httpFetch.get(`${config.baseUrl}/api/credit/user/info`, params)
  },

  getUserCreditEvent(params){
    return httpFetch.get(`${config.baseUrl}/api/credit/my/history`, params)
  },
  //获取登录人岗位信息
  getUserJobs(userOID){
    return httpFetch.get(`${config.baseUrl}/api/users/v2/${userOID}`)
  }

}
